﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="addnewreview.aspx.vb" Inherits="WuggiSum.addnewreview" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>


<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
    </asp:ToolkitScriptManager>
        <asp:Label ID="Message" runat="server" Text=""></asp:Label>
        <br />
        <strong> Rate This Topic: </strong>
	        <asp:Rating ID="Rating1" runat="server" 
		        WaitingStarCssClass="WaitingStar" 
		        StarCssClass="Star"
		        FilledStarCssClass="FilledStar" 
		        EmptyStarCssClass="EmptyStar">
                </asp:Rating>
        <br />
        <br />
        <asp:Button ID="btn_Rate" runat="server" Text="Rate!" />
        <br />
        <br />
        <table>
            <tr>
                <td>
                Movie Title:
                </td>
                <td>
                    <asp:TextBox ID="TB_m_title2" runat="server" Width="463px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                Description:
                </td>
                <td>
                    <asp:TextBox ID="TB_m_desc2" runat="server" Height="61px" Width="460px"></asp:TextBox>
                </td>
            </tr>
                <tr>
                <td colspan="2" style="text-align: center">
                    <asp:Button ID="add" runat="server" Text="Add"  />
                </td>
            </tr>
        </table>
        <asp:CheckBoxList ID="CheckBoxList1" runat="server" 
            DataSourceID="SqlDataSource1" DataTextField="t_names" DataValueField="t_id" 
            RepeatDirection="Horizontal">
        </asp:CheckBoxList>
        Add new Tags, seperate tags by comma:<br />
        <asp:TextBox ID="tags" runat="server" Width="378px"></asp:TextBox>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
            ConnectionString="<%$ ConnectionStrings:ConnectionString %>" 
            ProviderName="<%$ ConnectionStrings:ConnectionString.ProviderName %>" 
            SelectCommand="SELECT [t_id], [t_names] FROM [tags]">
        </asp:SqlDataSource>
        <br />
        <asp:Button ID="Tag" runat="server" Text="Tag this" />
        <br />
</asp:Content>

